﻿using MediatR;
using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace StoreISet.Applicationes.Command
{
    public class SystematicUpdateCommand:IRequest<int>
    {
        /// <summary>
        /// 分类相册Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SystematicId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? SystematicName { get; set; }
        /// <summary>
        /// 分类状态 1启用 2停用
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int ClassificationStatus { get; set; }
        /// <summary>
        /// 照片数量
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int SystematicNumber { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int Systematicsort { get; set; }
    }
}
